import request from '@/utils/request'

// 删除图片
export function deletePicture(data) {
  return request({
    url: '/delete_oss',
    method: 'get',
    params: data
  })
}

// 版本更新接口
export function operationVersionApi(data) {
  return request({
    url: '/save_wgt',
    method: 'get',
    params: data
  })
}

/**
 * 获取当前版本
 * @param {edition_num, appid} data
 */
export function getCurrentVersionApi(data) {
  return request({
    url: '/get_edition',
    method: 'get',
    params: data
  })
}
